<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Newton Dynamics: nd::TiXmlVisitor Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_php.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Newton Dynamics
   &#160;<span id="projectnumber">4.00</span>
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.svg"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnd_1_1_ti_xml_visitor.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classnd_1_1_ti_xml_visitor-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">nd::TiXmlVisitor Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>If you call the Accept() method, it requires being passed a <a class="el" href="classnd_1_1_ti_xml_visitor.html" title="If you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks.">TiXmlVisitor</a> class to handle callbacks.  
 <a href="classnd_1_1_ti_xml_visitor.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for nd::TiXmlVisitor:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classnd_1_1_ti_xml_visitor.png" usemap="#nd::TiXmlVisitor_map" alt=""/>
  <map id="nd::TiXmlVisitor_map" name="nd::TiXmlVisitor_map">
<area href="classnd_1_1_ti_xml_printer.html" title="Print to memory functionality." alt="nd::TiXmlPrinter" shape="rect" coords="0,56,101,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae9f6368a4e8ddb479beb1c4bc3b59e83"><td class="memItemLeft" align="right" valign="top"><a id="ae9f6368a4e8ddb479beb1c4bc3b59e83"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><b>operator new</b> (size_t size)</td></tr>
<tr class="separator:ae9f6368a4e8ddb479beb1c4bc3b59e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5923439e34172daeac30f592f643e24c"><td class="memItemLeft" align="right" valign="top"><a id="a5923439e34172daeac30f592f643e24c"></a>
void *&#160;</td><td class="memItemRight" valign="bottom"><b>operator new[]</b> (size_t size)</td></tr>
<tr class="separator:a5923439e34172daeac30f592f643e24c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb8eb4704f2a3f4ba6317f83e2e83d50"><td class="memItemLeft" align="right" valign="top"><a id="afb8eb4704f2a3f4ba6317f83e2e83d50"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator delete</b> (void *ptr)</td></tr>
<tr class="separator:afb8eb4704f2a3f4ba6317f83e2e83d50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6046de2d60ee8e663e15295c67876067"><td class="memItemLeft" align="right" valign="top"><a id="a6046de2d60ee8e663e15295c67876067"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>operator delete[]</b> (void *ptr)</td></tr>
<tr class="separator:a6046de2d60ee8e663e15295c67876067"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7499bb4f5f1a9b43b16cb44cc94ee6d"><td class="memItemLeft" align="right" valign="top"><a id="ae7499bb4f5f1a9b43b16cb44cc94ee6d"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#ae7499bb4f5f1a9b43b16cb44cc94ee6d">VisitEnter</a> (const <a class="el" href="classnd_1_1_ti_xml_document.html">TiXmlDocument</a> &amp;)</td></tr>
<tr class="memdesc:ae7499bb4f5f1a9b43b16cb44cc94ee6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit a document. <br /></td></tr>
<tr class="separator:ae7499bb4f5f1a9b43b16cb44cc94ee6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1f4db93d4bbc1b9cecd55489adeb0c1"><td class="memItemLeft" align="right" valign="top"><a id="ab1f4db93d4bbc1b9cecd55489adeb0c1"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#ab1f4db93d4bbc1b9cecd55489adeb0c1">VisitExit</a> (const <a class="el" href="classnd_1_1_ti_xml_document.html">TiXmlDocument</a> &amp;)</td></tr>
<tr class="memdesc:ab1f4db93d4bbc1b9cecd55489adeb0c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit a document. <br /></td></tr>
<tr class="separator:ab1f4db93d4bbc1b9cecd55489adeb0c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71ab96afb6577d59f10afc81d104bb12"><td class="memItemLeft" align="right" valign="top"><a id="a71ab96afb6577d59f10afc81d104bb12"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#a71ab96afb6577d59f10afc81d104bb12">VisitEnter</a> (const <a class="el" href="classnd_1_1_ti_xml_element.html">TiXmlElement</a> &amp;, const <a class="el" href="classnd_1_1_ti_xml_attribute.html">TiXmlAttribute</a> *)</td></tr>
<tr class="memdesc:a71ab96afb6577d59f10afc81d104bb12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit an element. <br /></td></tr>
<tr class="separator:a71ab96afb6577d59f10afc81d104bb12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3c686a7f761f6effe7509dd396ec79f"><td class="memItemLeft" align="right" valign="top"><a id="aa3c686a7f761f6effe7509dd396ec79f"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#aa3c686a7f761f6effe7509dd396ec79f">VisitExit</a> (const <a class="el" href="classnd_1_1_ti_xml_element.html">TiXmlElement</a> &amp;)</td></tr>
<tr class="memdesc:aa3c686a7f761f6effe7509dd396ec79f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit an element. <br /></td></tr>
<tr class="separator:aa3c686a7f761f6effe7509dd396ec79f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa629651d042172565bfdf9ce8a1a807b"><td class="memItemLeft" align="right" valign="top"><a id="aa629651d042172565bfdf9ce8a1a807b"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#aa629651d042172565bfdf9ce8a1a807b">Visit</a> (const <a class="el" href="classnd_1_1_ti_xml_declaration.html">TiXmlDeclaration</a> &amp;)</td></tr>
<tr class="memdesc:aa629651d042172565bfdf9ce8a1a807b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit a declaration. <br /></td></tr>
<tr class="separator:aa629651d042172565bfdf9ce8a1a807b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a512197d80bc9f8b049d420d605877788"><td class="memItemLeft" align="right" valign="top"><a id="a512197d80bc9f8b049d420d605877788"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#a512197d80bc9f8b049d420d605877788">Visit</a> (const <a class="el" href="classnd_1_1_ti_xml_text.html">TiXmlText</a> &amp;)</td></tr>
<tr class="memdesc:a512197d80bc9f8b049d420d605877788"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit a text node. <br /></td></tr>
<tr class="separator:a512197d80bc9f8b049d420d605877788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26b9969083e1450d81a8935780c88189"><td class="memItemLeft" align="right" valign="top"><a id="a26b9969083e1450d81a8935780c88189"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#a26b9969083e1450d81a8935780c88189">Visit</a> (const <a class="el" href="classnd_1_1_ti_xml_comment.html">TiXmlComment</a> &amp;)</td></tr>
<tr class="memdesc:a26b9969083e1450d81a8935780c88189"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit a comment node. <br /></td></tr>
<tr class="separator:a26b9969083e1450d81a8935780c88189"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd34ff678d74b2f8155dbccffa63eb96"><td class="memItemLeft" align="right" valign="top"><a id="acd34ff678d74b2f8155dbccffa63eb96"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnd_1_1_ti_xml_visitor.html#acd34ff678d74b2f8155dbccffa63eb96">Visit</a> (const <a class="el" href="classnd_1_1_ti_xml_unknown.html">TiXmlUnknown</a> &amp;)</td></tr>
<tr class="memdesc:acd34ff678d74b2f8155dbccffa63eb96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Visit an unknow node. <br /></td></tr>
<tr class="separator:acd34ff678d74b2f8155dbccffa63eb96"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>If you call the Accept() method, it requires being passed a <a class="el" href="classnd_1_1_ti_xml_visitor.html" title="If you call the Accept() method, it requires being passed a TiXmlVisitor class to handle callbacks.">TiXmlVisitor</a> class to handle callbacks. </p>
<p>For nodes that contain other nodes (Document, Element) you will get called with a VisitEnter/VisitExit pair. Nodes that are always leaves are simple called with <a class="el" href="classnd_1_1_ti_xml_visitor.html#aa629651d042172565bfdf9ce8a1a807b" title="Visit a declaration.">Visit()</a>.</p>
<p>If you return 'true' from a Visit method, recursive parsing will continue. If you return false, <b>no children of this node or its sibilings</b> will be Visited.</p>
<p>All flavors of Visit methods have a default implementation that returns 'true' (continue visiting). You need to only override methods that are interesting to you.</p>
<p>Generally Accept() is called on the <a class="el" href="classnd_1_1_ti_xml_document.html" title="Always the top level node.">TiXmlDocument</a>, although all nodes suppert Visiting.</p>
<p>You should never change the document from a callback.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classnd_1_1_ti_xml_node.html#a056fdda8ecb8b636cfd262721ccde7ae" title="Accept a hierchical visit the nodes in the TinyXML DOM.">TiXmlNode::Accept()</a> </dd></dl>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>nd</b></li><li class="navelem"><a class="el" href="classnd_1_1_ti_xml_visitor.html">TiXmlVisitor</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
